//
//  MYPublishEditGoodsHeader.swift
//  MuYing
//
//  Created by tbb on 2019/8/15.
//  Copyright © 2019 TBB. All rights reserved.
//

import UIKit

class MYPublishEditGoodsHeader: UITableViewHeaderFooterView {

    lazy var titleLb: UILabel = {
        let titleLb = UILabel();
        titleLb.font = UIFont.systemFont(ofSize: 15, weight: .medium);
        titleLb.textColor = UIColorFromHex(rgbValue: 0x989898);
        titleLb.text = kYQLSSwift("文中相关产品");
        return titleLb;
    }()

    override func layoutSubviews() {
        super.layoutSubviews();
        self.contentView.backgroundColor = .white;
        self.contentView.addSubview(self.titleLb);
        self.titleLb.mas_makeConstraints { (make) in
            make?.left.mas_equalTo()(12);
            make?.centerY.mas_equalTo()(0);
        }
    }
}

